package fivestar.controller.service.impl;

import fivestar.controller.service.UserService;
import fivestar.model.dao.UserDao;
import fivestar.model.entity.User;

public class UserServiceImpl implements UserService{

	private UserDao userDao;
	
	@Override
	public User login(String name, String password) throws RuntimeException {		
		return userDao.login(name, password);		
	}

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

}
